#pragma once
#include "SFML\Window.hpp"
#include "SFML\Graphics.hpp"
#include <list>

class buildmenu
{

public:
	enum buildmenuResult { Nothing, Exit, Start, tower1, tower2, tower3 };	
	
	struct buildmenuItem
		{
		public:
			sf::Rect<int> rect;
			buildmenuResult action;
		};
	
	buildmenuResult Show(sf::RenderWindow& window);

private:
	buildmenuResult GetMenuResponse(sf::RenderWindow& window);
	buildmenuResult HandleClick(int x, int y);
	std::list<buildmenuItem> _buildmenuItem;
};
